How to clone a project from git without project folder

There are two options to do the same

1. If there is no (.) dot  directory in the current folder then we can simply put (.) dot at the end 

git clone https://github.com/letsknowit/projectrepo.git .

2. We can also  setup a new repo and then the tracking remote and branch

git init .
git remote add origin https://github.com/letsknowit/projectrepo.git
git fetch origin
git checkout master

0   0
Himanshi Saini
profile Lian 24th November 2024

womens bomber jacket wool are great for transitioning between seasons.

Write a comment ...
Post comment
Cancel
profile Billie 15th October 2024

This will clone the repository Geoguessr Free files directly into the directory you're currently in, without creating a new folder named after the repository.

Write a comment ...
Post comment
Cancel
profile david 9th October 2024

When it comes to securing your home, vehicle, or business, you need a locksmith service that you can trust. Brothers Mobile Locksmith delivers top-tier locksmith solutions with reliability, efficiency, and professionalism. With 24/7 availability and a wide range of services, they are the go-to experts for all your lock and security needs.

Write a comment ...
Post comment
Cancel
profile ZenGlow 21st September 2024


<p>Discover effective <a href="https://www.zenglowmd.ca/pages/varicose-veins" title="varicose veins treatment">varicose veins treatment</a> at ZenGlow Medical Aesthetics.</p>
 

Write a comment ...
Post comment
Cancel
profile inserts 13th September 2024

Content Carbide Turning Inserts marketing high feed milling Insert is not very easy Drilling Inserts job CNC Turning Inserts Milling Inserts to CNC Inserts China do, threading Insert you write carbide wear inserts a great Drilling tool inserts article on Tungsten Carbide Inserts it.

Write a comment ...
Post comment
Cancel
profile Uniswift.pk 1st September 2024

At Uniswift, we understand the importance of nurturing soccer kids talents. That's why we offer a wide range of soccer gear tailored specifically for kids. From mini-sized soccer balls to comfortable apparel, Uniswift ensures that every child can enjoy the beautiful game with confidence and excitement. Gear up your little ones for their soccer journey with Uniswift today!

Write a comment ...
Post comment
Cancel
profile Shalamar Hospital 31st August 2024

Shalamar Hospital's plastic surgery  center is dedicated to enhancing your appearance, combining expertise with a caring approach in a modern medical environment.

Write a comment ...
Post comment
Cancel
profile vopsodigno 23rd August 2024

How to clone a project from git without a project folder is a nice post with the best details we need. Also, the leaking roof problems are so big, and it provides us with ideas that are good for us to get the right results.

Write a comment ...
Post comment
Cancel
profile Bilal 31st July 2024

Enhance your windows with fiberglass window shades from Arehman Fiber Glass. Our shades provide excellent insulation and durability, ensuring your home stays cool and stylish.

Write a comment ...
Post comment
Cancel
profile Labs Pest 31st July 2024

Effective ant pest control is available with Labs Pest Control. Our professional team ensures ants are eradicated from your home. Contact us now!

Write a comment ...
Post comment
Cancel
profile kulure 30th July 2024

Get glamorous with strip lash applications at Kullure Beauty and Body. Book your session today.

Write a comment ...
Post comment
Cancel
profile Shalamar Hospital 24th June 2024

Located in Lahore, Shalamar Hospital is a distinguished  Lahore hospital  known for its exceptional medical care, setting high standards in healthcare services.

Write a comment ...
Post comment
Cancel
profile Uniswift 24th June 2024

Uniswift.ae is your ultimate destination for soccer kids. From balls to jerseys, we have everything you need to make the most of your playing experience. Shop now and elevate your game!

Write a comment ...
Post comment
Cancel
profile Nawabs Hotels 24th June 2024

Experience pure bliss at lulusar lake, where nature paints a mesmerizing picture of tranquility and charm. Whether you're an avid photographer, nature enthusiast, or simply seeking solace, this picturesque lake promises an unforgettable escape amidst the scenic splendor of Pakistan's wilderness.

Write a comment ...
Post comment
Cancel
profile Mike 15th May 2024

I really like the way that you have expressed yourself. There is a lot to be admired from this post. You might want to click onHouse X Techno Jacket
 

Write a comment ...
Post comment
Cancel

Please rotate your device

We don't support landscape mode on your device. Please rotate to portrait mode for the best view of our site